import {
  BrowserModule
} from '@angular/platform-browser';
import {
  NgModule
} from '@angular/core';
import { BrowserAnimationsModule } from "@angular/platform-browser/animations";

import {
  AppComponent
} from './app.component';
// import {
//   FollowItemComponent
// } from './follow-item/follow-item.component';
import {
  HttpClientModule
} from '@angular/common/http';
import {
  FollowListComponent
} from './follow-list/follow-list.component';
import {
  NgZorroAntdModule,
  NZ_I18N,
  zh_CN
} from 'ng-zorro-antd';

import {
  registerLocaleData
} from '@angular/common';
import zh from '@angular/common/locales/zh';
import { FormsModule } from '@angular/forms';
registerLocaleData(zh);

@NgModule({
  declarations: [
    AppComponent,
    FollowListComponent,
  ],
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    FormsModule,

    HttpClientModule, NgZorroAntdModule
  ],
  bootstrap: [AppComponent],
  providers: [{
    provide: NZ_I18N,
    useValue: zh_CN
  }]
})
export class AppModule { }
